package com.ruoyi.ruoyiyinzheng.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.ruoyiyinzheng.domain.StMaterial;
import com.ruoyi.ruoyiyinzheng.domain.vo.StMaterialVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 物料管理Mapper接口
 *
 * @author ruoyi
 * @date 2023-09-18
 */
public interface StMaterialMapper extends BaseMapperPlus<StMaterialMapper, StMaterial, StMaterialVo> {

    Page<StMaterialVo> selectStMaterialPageList(@Param("page") Page<StMaterial> page, @Param(Constants.WRAPPER) Wrapper<StMaterial> queryWrapper);
    List<StMaterialVo> selectStMaterialList(@Param(Constants.WRAPPER) Wrapper<StMaterial> queryWrapper);
}
